removed pointless _send() & moved its code to send()
removed pointless _calculateselecttimeout() method
removed pointless _isValidType() method
these methods will not be used.