inets: Fix incorrect argument order

Wrong order of arguments in httpc_handler:update_session/4 error
handling code  should not result in bad_argument error making
stack trace unusable.