Add setsockopt & recv to net.socket
Added getattr implementation for net.socket