Check response code if specified on command line

The plugin checks the response code and exits if it is not 200. The user
may however want to check for a particular code. Add an argument for the
expected code and check for it only if it is specified.

Signed-off-by: Marcus Karlsson <mk@acc.umu.se>