Socket Error Handle
Merge pull request #2 from kozmagabor/master

 Socket Error Handle