WalrusAPI: add HTTP code setter