function createSocket(metadata = {}, options = {}) {
  return new InternalSocket(metadata, options);
}
@param {import("fbp-graph/lib/Types").GraphEdgeMetadata} [metadata]
@param {InternalSocketOptions} [options]
@returns {InternalSocket}