transport/http is refactored, some fixes is needed