adjust to signature changes in netlib.tcp