Fix conmock to mirror express api.