fix bug where passing string body to custom host verb method raised exception