cxxll::fd_handle: Add wrappers for socket(), bind(), getsockname()

Currently used in a test case only.
cxxll::url_source: Properly report connection failure