Refactored port operations/statics out of BitterServer, fixed BitterClientTest syntax errors