Modified photo client to use new network PROTOCOL.