Update Connection.php

feof(): 41 is not a valid stream resource
Update Connection.php

Fix style Stream
Merge branch 'refs/heads/gollariel-sock-conn' into 0.4