remove defense mechanism in Socket#write

Removes the check for IO#write_nonblock returning more bytes written
than requested. This was a result of an encoding issue (#271).
Merge pull request #274 from burns/remove_defense_mechanism

remove defense mechanism in Socket#write