Added socket server and protocol adapter framework code, modified build script appropriately.