make request/response optional for cfoundry errors

+ move to end of argument order

Change-Id: I83d15368524cd16eff00c5b932f40cad92540495