Fix all compiler warnings

Also fix SwankProtocolConversionsSpec tests on Windows
Merge pull request #485 from edani/warnings

Warnings
Work on protocol cleanup