Contrary to popular belief, not every implementation of TLS follows the specs. Some of them just drop the connection without sending a proper close_notify, and we should handle that gracefully.
This commit splits the TLSv12 file into multiple files, and also removes some magic values, to make the code less horrible. :^)