implemented 'R ptr T' syntax
Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
Add checks for invalid socket when creating sockets.
Fixes #1005
Fixes typo to be able to use debugger.