Change statementName and portalName from String to long

The statementName and portalName are generated unique numbers. Instead of converting first from long->String and then every time when they are written to protocol messages from String->byte[]->ByteBuffer.

This patch just pass the statementId and portalId as numbers around. When writing to ByteBuffer just create a temporary byte[] and serialize the number directly to it before writing it out.