Corrected error handling for ws_getprotobyname/number. Made the Async error returns the same as the normal functions.