Add Connection::availableSizeImpl native
Remove unneeded byteArray local variable
Merge pull request #178 from marco-c/availableSize

Implement availableSizeImpl native