Additions to Socket.server and Socket.client

Also changed Bt.write behavior slightly and changed some other
descriptions