Fixed include issue leading to miscompiling.
Created stub for MessageSocket.