Cleanup refactoring: moved source parsing from transport to request.