A Java-based wrapper for implementing socket connections