iproxy: Detach accept thread to handle multiple connections
iproxy: Use internal socket helper functions everywhere for better portability
iproxy: Print correct error message when receiving fails