fix partial interfaces; codemaid; split SocketManager.Poll.cs code out (mono vs .NET)