Fix bug where receiving EOF on the RPC connection could cause RpcConnectionState to go into an infinite promise loop.  Strange that this did not cause trouble earlier.  Also some minor tweaks.
Allow DynamicEnum fields to be set with int/uint
Merge pull request #69 from jparyani/master

Allow DynamicEnum fields to be set with int/uint
Fix style.