Fixes issue with connection port not being found in adaptor.
Move self = this into instance scope.
Merge pull request #4 from hybridgroup/connection-port-bug

Fixes issue with connection port not being found in adaptor.