THRIFT-2810: java - clean-up resources on error in TServerSocket constructor

Client: Java
Patch: Guido de Caso

TServerSocket will call close() in constructor, when error is detected

This closes #258