10 second timeout, using fread instead of stream.
10 second timeout, using fread instead of stream.

Stream get contents causes lagg until was written to. 10 seconds is a
more reasonable timeout. Probably make this configurable soon.

legalweb/socket-client