Fix segfault
Add errno and perrno to socket errors
Add ability to connect the `fetcher` to other hosts