Validate inet_addr before connecting/listening.
Fix url parser invocation.
Some fixes to lua_http.