Removed TTY.isatty

Python already provides it and it's not directly exposed by libuv, it
was built on top of uv_guess_handle, which doesn't make sense to expose
in Python
Check if the object passed as send_handle is a Stream object
Fixed leaks on stream and UDP write functions