Set the RESULTCODE similar to the LAN client. Fixes #179