Test raw connections, redirects and socket timeouts

- Fixes #1
- Socket timeout after 60s (when no data sent)
- HTTPs to HTTP redirect and vice versa (depending on settings)
- Listen to errors on connections