Updating network server socket handling.
Working on network stuff, added some mixins for JSON RPC handling.