Cleanup some aspects of the socket API
Cleanup some aspects of the socket API

plucury/hyper,irvind/hyper,lawnmowerlatte/hyper,Lukasa/hyper,Lukasa/hyper,masaori335/hyper,lawnmowerlatte/hyper,plucury/hyper,fredthomsen/hyper,irvind/hyper,masaori335/hyper,jdecuyper/hyper,jdecuyper/hyper,fredthomsen/hyper