Made middleman types unexported; added middleman.NewRemote().