Add check_key_exists registry function

MSF side has been attempting to open keys to see if they exist, which isn't fantastic as it results in an error. This change adds a function which indicates to the caller if the given reg key exists.

I also updated the `stdapi_net_config_get_proxy` command declaration to use the appropriate macro.

### Verification

- [ ] Check missing key works on x86
- [ ] Check existing key works on x86
- [ ] Check missing key works on x64
- [ ] Check existing key works on x64