Don't read from the socket more than requested. This prevents stalling issues (fixes celery/celery#1847).
Merge pull request #33 from celery/fix-celery-1847

Don't read from the socket more than requested. This prevents stalling i...