Parse first line to dispatch request