Exchanging fread() for stream_get_contents(); fixes issue #8.
Exchanging fread() for stream_get_contents(); fixes issue #8.

This avoids capping through the default chunk size of fread().

Discovered and fix suggested by Matt Rose.

johnnyzheng/beanstalk,davidpersson/beanstalk