Combine SendFlag and ReceiveFlag into MessageFlag

Add javadocs to MessageFlag and SocketType

Add Pollable interface