* @see com.maverick.multiplex.Channel#open(byte[])
*/
public byte[] open(byte[] data) throws IOException , ChannelOpenException{
ByteArrayReader msg = new ByteArrayReader(data);
this.hostname = msg.readString();
this.port = (int) msg.readInt();
try {
this.socket = CustomSocketFactory.getDefault().createSocket(hostname, port);
} catch (IOException ioe) {
throw new ChannelOpenException(ChannelOpenException.CONNECT_FAILED, ioe.getMessage());
}