FIX: writePort accessing http->endpoints