Docker run failed when pulling from docker.io

when I run : docker run docker/whalesay cowsay boo, I get this output

Unable to find image ‘docker/whalesay:latest’ locally
Pulling repository docker.io/docker/whalesay
Error while pulling image: Get https://index.docker.io/v1/repositories/docker/whalesay/images: malformed HTTP response “\x05\x00”

DOCKER VERSION:
Docker version 1.9.1, build a34a1d5