remove redundant code and add code as attribute in ServerResponseException
raise version to 0.2.1