Allow not passing parameters in socket calls

This pull request allows to not having to pass an empty parameter object for socket calls and closes #88.