Doc changes
Use reprlib for frame locals
Do not try to open socket when host port is None