Add missing copyright header
Move find_port() to util.convenience
Make rpc_forker resilient to port in use error