public writeMessage(type as Int, payload as Byte[]) as Void throws SQLException:
Writes a message with type byte.