'Scan' request parsing fixed

Fixes bug 1271170
Merge pull request #87 from ikhudoshyn/bug/1271170

'Scan' request parsing fixed