how boat mooring hook works