Added error handling to skipHeaders to prevent usable of httpReturnCode
on invalid returns, May fix Issue #3. In any case „lastReturnCode“ will be re-set to NULL for any request, so if not successful to skip headers „NULL“ is the „last“ return Code
Additionally changed some code in "closeStream" to make sure that connection is always closed correctly by calling "stop" and not leaving "CLOSE_WAIT" sockets
Added error handling to skipHeaders to prevent usable of httpReturnCode on invalid returns, May fix Issue #3. In any case „lastReturnCode“ will be re-set to NULL for any request, so if not successful to skip headers „NULL“ is the „last“ return Code
Additionally changed some code in "closeStream" to make sure that connection is always closed correctly by calling "stop" and not leaving "CLOSE_WAIT" sockets