Fixed empty reply on invalid HTTP verb and simplified source/sink parsing