Add GetBuffer method in Port and cleanup some Port error messages
Improve error messages in Client