Chars under 4 hex long need padding

When using regexp to search for unicode the chars must be 4 characters
in length. The new code pads them and also ensures that requests are
passing values properly. The responses are also copies of the requests
plus a result property. This makes it easier to maintain state.