fixed missing dependency. cherrypicked from topic/dynamic_websocket_port